package semana2.bucles.ejercicio14_ordenInverso;

import java.util.Scanner;

public class OrdenInverso {

	/**
	 * @param args
	 */
	public static void main(String[] args) {

		Scanner scan = new Scanner(System.in);
		System.out.println("Introduce n: ");
		int n = scan.nextInt();

		while (n > 0) {

			System.out.print(n % 10);
			n = n / 10;

		}

	}

}
